<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link href="css/bootstrap.min.css" rel="stylesheet">
<title>Club</title>
</head>
<body>
	
	<!-- Inicio Div -->
	<div class="container">		
      <!-- Static navbar -->
      <nav class="navbar navbar-default">
        <div class="container-fluid">
          <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="PrincipalServlet">Mantenimiento</a>
          </div>
          <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
              <!-- Inicio -->  	
              <li class="active"><a href="PrincipalServlet">Inicio</a></li>
              <!-- menu Servicio -->
              <li class="dropdown">
              	<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Servicio<span class="caret"></span></a>
              	<ul class="dropdown-menu" role="menu">
              		<li><a href="registra_servicio.jsp">Registrar</a></li>
                  	<li><a href="consulta_servicio.jsp">Consultar</a></li>
              	</ul>
              </li>
              <!-- menu Juegos -->
              <li class="dropdown">
              	<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Juegos<span class="caret"></span></a>
              	<ul class="dropdown-menu" role="menu">
              		<li><a href="registra_juego.jsp">Registrar</a></li>
                  	<li><a href="consulta_juego.jsp">Consultar</a></li>
              	</ul>
              </li>
              
              <!-- menu dia de campo -->
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Dia de Campo<span class="caret"></span></a>
                <ul class="dropdown-menu" role="menu">
                  <li><a href="#">Consultar</a></li>
                  <li class="divider"></li>
                  <li><a href="#">Separated link</a></li>
                </ul>
              </li>
              <!-- Menu Ofertas -->
              <li class="dropdown">
              	<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Ofertas<span class="caret"></span></a>
              	<ul class="dropdown-menu" role="menu">
              		<li><a href="registra_oferta.jsp">Registrar</a></li>
                  	<li><a href="consulta_oferta.jsp">Consultar</a></li>
              	</ul>
              </li>
                <li class="dropdown">
              	<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Club<span class="caret"></span></a>
              	<ul class="dropdown-menu" role="menu">
              		<li><a href="registra_club.jsp">Registrar</a></li>
                  	<li><a href="consulta_club.jsp">Consultar</a></li>
              	</ul>
              </li>
              <!-- fin menu -->
              
            </ul>
            <ul class="nav navbar-nav navbar-right">              
              <li><a href="LogoutServlet">Salir</a></li>
            </ul>
          </div><!--/.nav-collapse -->
        </div><!--/.container-fluid -->
      </nav>
      
<!-- Formulario -->			
		<div id="formoferta" style="margin-top:5px;" class="mainbox col-md-12 col-md-offset-0 col-sm-5 col-sm-offset-2">
			<div class="panel panel-info" >
				<div class="panel-heading">
					<div class="panel-title">Nuevo Club</div>
				</div>
			</div>
		</div>
		<!-- Formulario Club-->	
<%@page import="sistemaweb.modelo.Club"%>
<%
Club vo = (Club)request.getAttribute("vo");
%>  		
		
		<form id="loginform" class="form-horizontal" role="form" method="post" action="ModificarClub">
			
			    		<div class="form-group">
         		<label for="inputName" class="control-label col-xs-2" required>Nombre:</label>
         	<div class="col-lg-3">
				 <input type="text" class="form-control" name="nombre" value="<%=vo.getNombre()%>" readonly="readonly">		
         	</div>		
    		</div>   
				
			<div class="form-group">
         		<label for="inputName" class="control-label col-xs-2" required>Direccion:</label>
         	<div class="col-lg-4">
             <input type="text" class="form-control" name="direccion" value="<%=vo.getDireccion()%>">
         	</div>
    		</div>    		
			<div class="form-group">

			<label for="inputName" class="control-label col-xs-2" required>Telefono:</label>
         	<div class="col-lg-2">
				<input type="number" min="0" max ="999999999" class="form-control" name="telefono" value="<%=vo.getTelefono()%>">	
         	</div>         		
    		</div> 		    			       	
    	
    		 <div class="form-group">
         		  <button type="submit" class="btn btn-primary">Grabar</button> 
 				  <a href="consulta_club.jsp" class="btn btn-primary">Regresar</a> 
         	</div>	    		
    		    		    		    		      		    		
		</form>
	</div>
		
	    <!-- Bootstrap core JavaScript
    ================================================== -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
</body>
</html>